package com.okcl.manage.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserInfoMapper {
    /**
     * 查询系统用户表的用户名
     *
     * @param id
     * @return
     */
    @Select("select user_name from sys_user where user_id=#{id}")
    public String getUserNameById(Long id);
}
